// 本页面是自己的插件
import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'

// 此处暴露自己的插件---组件
export default {
  // 插件必须有install方法, 这个方法会在插件被use时自动执行
  install(Vue) {
    //   默认情况下, install方法被use调用时, 会自动接收到一个Vue构造器
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
  }
}

